<include file="Public/header" />
<title>我的桌面</title>
</head>
<body>
<div class="page-container">
    <div class="cl pd-5 bg-1 bk-gray mt-20">
        <span class="l">
            <input type="text" name="name" id="name" placeholder=" 名称/hscode" value="<{$Think.get.name}>" style="width:250px" class="input-text">
             <button id="search" class="btn btn-success" type="button"><i class="Hui-iconfont"></i> 搜索</button>
            <span class="c-red">*多个关键词用空格或者逗号分隔开即可</span>
        </span>
        <span class="r">共有数据：<strong><{$count}></strong> 条</span>
    </div>
    <div class="mt-20">
        <div id="DataTables_Table_0_wrapper" class="dataTables_wrapper no-footer">
            <table class="table table-border table-bordered table-bg table-hover table-sort dataTable no-footer" id="DataTables_Table_0" role="grid" aria-describedby="DataTables_Table_0_info">
                <thead>
                <tr class="text-c" role="row">
                    <th width="80" class="sorting_desc" style="width: 120px;">ID</th>
                    <th tabindex="0" style="width: 487px;">名称(点击名称可以编辑)</th>
                    <th width="120" style="width: 220px;">hscode(海关编码)</th>
                    <th width="120" style="width: 220px;">备注</th>
                    <th width="120" style="width: 220px;">第一法定单位</th>
                    <th width="120" style="width: 220px;">第二法定单位</th>
                    <th width="120" style="width: 220px;">惠税</th>
                    <th width="120" style="width: 220px;">普税</th>
                    <th width="120" style="width: 220px;">增值税</th>
                    <th width="120" style="width: 220px;">监管条件</th>
                    <th width="120" style="width: 220px;">商检标志</th>
                </tr>
                </thead>
                <tbody>
                <foreach name="list" item="data">
                    <tr class="text-c odd" role="row">
                        <td class="sorting_1"><{$data.id}></td>
                        <td class="text-l"><{$data.name}></td>
                        <td><{$data.hscode}></td>
                        <td><{$data.remark}></td>
                        <td><{$data.unit_name}></td>
                        <td><{$data.unit_name_t}></td>
                        <td><{$data.p_tax}></td>
                        <td><{$data.g_tax}></td>
                        <td><{$data.v_tax}></td>
                        <td><{$data.sup_conditions}></td>
                        <td><{$data.c_mark}></td>
                    </tr>
                </foreach>
                </tbody>
            </table>
            <div class="page">
                <{$page}>
            </div>
        </div>
    </div>
    <include file="Public/footer" />
    <include file="Public/footer_js" />
    <script>
        $("#search").click(function (){
            location.href="__CONTROLLER__/hscode/name/"+$("#name").val();
        });
    </script>
</body>
</html>